from socket import socket, AF_INET, SOCK_STREAM
from p13_big_array import recv_into

c = socket(AF_INET, SOCK_STREAM)
c.connect(('localhost', 20001))

import numpy
a = numpy.zeros(shape=500000000, dtype=float)
print(f"{a[0:10] = }")
recv_into(a, c)
print(f"{a[0:10] = }")